#!/bin/bash

#function
func()
{
    num=10
    echo "this is function"
    echo "I'm running"
    echo "over byebye"

    #fan hui zhi
    return $num
}

func1()
{
    num1=11
    echo func1:$#
    for var in $*
    do
        echo $var
    done



    return $num1
}

echo "hello"
#diao yong han shu
func
# get return
echo $?

func1 1 2 3 4 5
echo $?
